package day12;

import java.util.Calendar;

/**
 * @author oldliu
 * @since 1.0
 */
public class CalTest {
    public static void main(String[] args) {
        Calendar c=Calendar.getInstance();
        c.set(2021,0,1);


        c.set(Calendar.DAY_OF_WEEK_IN_MONTH,1);///!!!!!!
        c.set(Calendar.DAY_OF_WEEK,Calendar.SUNDAY);
        System.out.println(c.getTime());
    }
}
